package com.zhentao.mapper;

import com.zhentao.domain.YdAccountHead;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhentao.domain.dto.AllDto;
import com.zhentao.domain.dto.IncomeAndPayItemDto;
import com.zhentao.domain.vo.IncomeAndPayItemVo;

import java.util.List;

/**
* @author 86131
* @author 小明
* @description 针对表【yd_account_head(财务主表)】的数据库操作Mapper
* @createDate 2024-10-23 11:01:52
* @createDate 2024-10-23 09:53:31
* @Entity com.zhentao.domain.YdAccountHead
*/
public interface YdAccountHeadMapper extends BaseMapper<YdAccountHead> {

//    财务主标+用户表+账户表+机构表（往来单位）+经手人表（财务人员表）关联查询
    List<YdAccountHead> accountList(AllDto allDto);
//      查看单条数据
    YdAccountHead accountSelectOne(Integer id);
    List<IncomeAndPayItemVo> IncomeOrPayList(IncomeAndPayItemDto dto);
    List<IncomeAndPayItemVo> ExcelIncAndPayList();

    List<IncomeAndPayItemVo> rcvOrMakeList(IncomeAndPayItemDto dto);
}




